#! /bin/sh
# I put this in /etc/cron.daily/
# Don't forget to chmod a+x this file!
# This will delete all files that are over 30 days old.
find /usr/share/nginx/sites/upload/htdocs/pub/uploads* -mtime +30 -exec rm {} \;
